// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:08


// Source File Name:   o3.java

package com.zelix;

import java.awt.*;
import java.awt.event.*;
import java.io.IOException;
import java.util.EventObject;
import javax.swing.*;
import javax.swing.text.JTextComponent;


//            a3, eo, zo, to, 
//            yw, k4, zz, q4, 
//            j0, tb

public final class o3 extends a3
    implements eo, ActionListener, KeyListener
{

    JFrame f;
    yw g;
    k4 h;
    JEditorPane i;
    JButton j;
    JButton k;
    JButton l;
    String m;
    boolean n;
    static String o = z(z("]J\001\0076TW\007m=DM89;DKEct\002\023T=>YM?>3\036W\000 b\000\030\00216^s\001<q\\F\t$b\000\030\00216^s\001<qBJ\b8+\r@\000>+QJ\0015-\036Q\00677D\030\00216^s\001<qRL\033$0]\036\f?1DB\006>:B\r\r?+DL\002}=DM'56WK\033}n\000\030\r$1gJ\013$7\rN\016(w_H-$1\036G\n6>EO\033\0076TW\007|\177SB\0013:\\a\033>qTF\t1*\\W89;DKCp7UO\037\022+^\r\01359QV\003$\bYG\0338v\013A\033>\027UJ\b8+\rN\016(w_H-$1\036G\n6>EO\033\030:YD\007$s\020@\016><UO-$1\036G\n6>EO\033\030:YD\007$s\020K\n</rW\001~;UE\016%3Dk\n98XWFk0[a\033>qGJ\013$7\rA\033>\bYG\0338d_H-$1\036K\n98XWR2+^k\n98XWT?4rW\001~+_SR=>YM?>3\036A\000$+_NDed_H-$1\036@\n>+UQ7m<_M\03316^F\035~(YG\0338u\001\025@ao\000\030\f11SF\003\022+^\r\0309;DKR2+^t\0064+X\030\f11SF\003\022+^\r\00756WK\033m=DM'56WK\033k<QM\f53rW\001~+_SR?4rW\001~+_ST3>^@\n<\035DMA3:^W\n\"\007\r@\000>+QJ\0015-\036T\0064+X\tZ`p\001\023_k7UO\037\022+^\r\0309;DKR2+^t\0064+X\030\00753@a\033>qXF\00677D\036\r$1xF\00677D\030\00753@a\033>qDL\037m0[a\033>qDL\037k7UO\037\022+^\r\f51DF\035\bbSL\001$>YM\n\"qGJ\013$7\032\033[\177n\000\023T"));
    static String p[];
    private static String z[];

    public o3(JFrame jframe, String s, String s1, String s2, String s3, String s4, int i1, 
            int j1, yw yw1)
    {
        super(jframe, s, s1, s2, s3, s4, new Integer(i1), new Integer(j1));
        f = jframe;
        g = yw1;
        g();
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            boolean flag = tb.b;
            Object obj = actionevent.getSource();
            if(obj == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(obj == k)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(obj == l)
                i();
        }
    }

    protected void f()
    {
        n = true;
        a();
        g.a();
    }

    public void a()
    {
        super.a();
        if(!n)
            g.a();
    }

    public void h()
    {
        zz.b(j);
    }

    protected final void i()
    {
        to.a(m);
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == k)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == l)
                i();
        }
    }

    public void keyReleased(KeyEvent keyevent)
    {
    }

    public void keyTyped(KeyEvent keyevent)
    {
    }

    void j()
    {
        n = true;
        a();
        g.a(new Integer(1));
    }

    protected void a(Object obj, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6)
    {
        String s = (String)obj;
        String s1 = (String)obj1;
        String s2 = (String)obj2;
        m = (String)obj3;
        int i1 = ((Integer)obj4).intValue();
        int j1 = ((Integer)obj5).intValue();
        Container container = getContentPane();
        j0 j0_1 = new j0(container);
        container.setLayout(j0_1);
        j = new JButton(s);
        j.setToolTipText(to.b(to.ob));
        k = new JButton(s1);
        k.setToolTipText(to.b(to.Z));
        l = new JButton(z[4]);
        l.setToolTipText(to.b(to.ab));
        j.addActionListener(this);
        k.addActionListener(this);
        l.addActionListener(this);
        j.addKeyListener(this);
        k.addKeyListener(this);
        l.addKeyListener(this);
        container.add(j, z[6]);
        container.add(k, z[3]);
        container.add(l, z[1]);
        h = new k4(false);
        container.add(h, z[2]);
        j0_1.e(o + z[5] + i1 + z[0] + j1 + ";");
        b(s2);
        setIconImage(zo.a(this));
        zz.a(this);
    }

    void b(String s)
    {
        h.setLayout(new BorderLayout());
        i = new JEditorPane();
        i.setEditable(false);
        try
        {
            i.setPage(to.c(s));
        }
        catch(IOException ioexception)
        {
            i.setText(ioexception.toString());
        }
        h.add(new q4(i), z[7]);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x5f;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x30;
                    break;
                case 1:
                    key = 35;
                    break;
                case 2:
                    key = 111;
                    break;
                case 3:
                    key = 80;
                    break;
                default:
                    key = 95;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[] = new String[8];
        as[0] = z(z("\031\030\0031&_V\033~7UJ\b8+\r"));
        as[1] = z(z("XF\003 \035DM"));
        as[2] = z(z("]B\006>\017^O"));
        as[3] = z(z("SB\0013:\\a\033>"));
        as[4] = z(z("xF\003 "));
        as[5] = z(z("\\B\026?*D\r\00291gJ\013$7\rN\006>\bYG\0338d\\B\026?*D\r\0309;DKR=>H\013\00291gJ\013$7\034"));
        as[6] = z(z("_H-$1"));
        as[7] = z(z("sF\001$:B"));
        z = as;
        String as1[] = new String[1];
        as1[0] = z(z("]F\034#>WF.\":Q\r\033?/\r\026T=:CP\0167:qQ\n1q\\F\t$b\005\030\0025,CB\b5\036BF\016~-YD\007$bSL\001$>YM\n\"qGJ\013$7\035\026T=:CP\0167:qQ\n1qRL\033$0]\036\f?1DB\006>:B\r\r?+DL\002"));
        p = as1;
    }
}